package com.gameapplet.challenge.dao;

import com.gameapplet.challenge.model.Challenge;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;
@Repository("challengeDao")
public interface IChallengeDao {
    int insertChallenge(Challenge challenge);

    Challenge selectChallengeByChallengeid(String challengeid);

    Challenge selectChallengeByOpenid(@Param("openid") String openid, @Param("challengeid") String chanllengeid);
}
